#include <iostream>
#define PI 3.14159
int main() {
    float A,B,C;
    scanf("%f %f %f",&A,&B,&C);
    float x=A*C/2;
    printf("TRIANGULO=%.3f\n",x);
    float y=PI*C*C;
    printf("CIRCULO=%.3f\n",y);
    float z=(A+B)*C/2;
    printf("TRAPEZIO=%.3f\n",z);
    float d=B*B;
    printf("QUADRADO=%.3f\n",d);
    float e=A*B;
    printf("RETANGULO=%.3f\n",e);
    return 0;

}
